#ifndef __MAIN_H
#define __MAIN_H

#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include "MKL46Z4.h"
#include "BSP.h"
#include "Uart.h"
#include "Timer.h"
#include "ProcessString.h"
#include "System_it.h"
#include "Header.h"

#define SRAM_ADDR_BASE	0x1FFFE000


#define SIZE_FRAME			46
#define SIZE_FRAME_HEX	22
#define SIZE_ADDRESS		4
#define SIZE_DATA				16
#define AMOUNT_FRAME 		200

typedef struct{
	uint32_t Address;
	uint8_t	Data[16];
}Frame_TypeDef;

#endif